import 'package:flutter/material.dart';
import 'package:flutter_mintegral/flutter_mintegral.dart';

class BannerAdHome extends StatefulWidget {
  @override
  _BannerAdHomeState createState() => _BannerAdHomeState();
}

class _BannerAdHomeState extends State<BannerAdHome> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Text(
        "streamController: _streamController",
      ),
    );
  }
  void initState() {
    super.initState();
    FlutterMintegral.showBannerAD(
        adUnitId: "146879",placementId: "138791");
  }
  @override
  void dispose() {
    FlutterMintegral.disposeBannerAD(
        adUnitId: "146879");
    super.dispose();
  }
}
